package com.ltf.entity;
//轮播图表
public class Carousel {
    private Integer id;
    private String writing;
    private String pic;

    public Carousel() {
    }

    public Carousel(Integer id, String writing, String pic) {
        this.id = id;
        this.writing = writing;
        this.pic = pic;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getWriting() {
        return writing;
    }

    public void setWriting(String writing) {
        this.writing = writing;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    @Override
    public String toString() {
        return "Carousel{" +
                "id=" + id +
                ", writing='" + writing + '\'' +
                ", pic='" + pic + '\'' +
                '}';
    }
}
